package com.tangoj.model.enums;

/**
 * 判题状态枚举
 */
public enum QuestionSubmitStatusEnum {
    BEFORE("判题前",0),
    RUNNING("判题中",1),
    END("判题结束",2);

    private final String text;

    private final Integer value;


    QuestionSubmitStatusEnum(String text, Integer value) {
        this.text = text;
        this.value = value;
    }

    public String getText() {
        return text;
    }

    public Integer getValue() {
        return value;
    }
}
